package com.cow.support.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Filedef entity. @author MyEclipse Persistence Tools
 */

public class Filedef implements java.io.Serializable {

	// Fields

	private Long fileid;
	private String filepath;
	private String filename;
	private String filedesc;
	private Long filesize;
	private Date uploadtime;
	private String uploaduser;
	private Set userproblems = new HashSet(0);

	// Constructors

	/** default constructor */
	public Filedef() {
	}

	/** minimal constructor */
	public Filedef(String filepath, String filename, Long filesize, Date uploadtime, String uploaduser) {
		this.filepath = filepath;
		this.filename = filename;
		this.filesize = filesize;
		this.uploadtime = uploadtime;
		this.uploaduser = uploaduser;
	}

	/** full constructor */
	public Filedef(String filepath, String filename, String filedesc, Long filesize, Date uploadtime,
			String uploaduser, Set userproblems) {
		this.filepath = filepath;
		this.filename = filename;
		this.filedesc = filedesc;
		this.filesize = filesize;
		this.uploadtime = uploadtime;
		this.uploaduser = uploaduser;
		this.userproblems = userproblems;
	}

	// Property accessors

	public Long getFileid() {
		return this.fileid;
	}

	public void setFileid(Long fileid) {
		this.fileid = fileid;
	}

	public String getFilepath() {
		return this.filepath;
	}

	public void setFilepath(String filepath) {
		this.filepath = filepath;
	}

	public String getFilename() {
		return this.filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public String getFiledesc() {
		return this.filedesc;
	}

	public void setFiledesc(String filedesc) {
		this.filedesc = filedesc;
	}

	public Long getFilesize() {
		return this.filesize;
	}

	public void setFilesize(Long filesize) {
		this.filesize = filesize;
	}

	public Date getUploadtime() {
		return this.uploadtime;
	}

	public void setUploadtime(Date uploadtime) {
		this.uploadtime = uploadtime;
	}

	public String getUploaduser() {
		return this.uploaduser;
	}

	public void setUploaduser(String uploaduser) {
		this.uploaduser = uploaduser;
	}

	public Set getUserproblems() {
		return this.userproblems;
	}

	public void setUserproblems(Set userproblems) {
		this.userproblems = userproblems;
	}

}